import {
  post
} from '@/assets/api/http'

//热门税种搜索
export const getHotSearch = (data) => post('/api/Issue/getHotSearch', data)

//获取搜索列表
export const getSearchList = (data) => post('/api/Index/searchlist', data)

//详情页
export const getInfo = (data) => post('/api/Issue/getinfo', data)

//获取相关问题
export const getAboutList = (data) => post('/api/Issue/aboutList', data)

//获取相关问题
export const setLike = (data) => post('/api/Issue/setLike', data)

//获取相关问题
export const getHistorySearch = (data) => post('/api/Issue/getHistorySearch', data)

//随机获取问题库数据
export const recommend_issue = (data) => post('/api/index/recommend_issue', data)

//随机获取税收法规库数据
export const recommend_policy = (data) => post('/api/index/recommend_policy', data)

//随机获取会计法规库数据
export const recommend_norm = (data) => post('/api/index/recommend_norm', data)

//获取问题库标签
export const getTags = (data) => post('/api/issue/get_keyword', data)

//获取问题库关键词列表
export const getKeywordList = (data) => post('/api/issue/get_keywordlist', data)

//获取问题库分类
export const getCateList = (data) => post('/api/Issue/pc_getCateList', data)

//根据分类查询问题库数据
export const get_issue_list = (data) => post('/api/index/get_issue_list', data)


// 问题库列表
export const new_getList = (data) => post('/api/Issue/new_getList', data)
